/**
 * 
 */
package pt.mleiria.algorithm;

/**
 * @author NB13712
 *Notes:
 *-->DES: 56-bit key size stored in 8 bytes (vulnerable to key search attacks)
 *-->DESede or triple DES: use 3 keys:
 *1-The plaintext is encrypted using the first key
 *2-The result of step one is decrypted using the second key
 *3-The result of step 2 is encrypted using the third key. producing ciphertext
 *-The key length is increased to 168 bits (3x56)
 *-->PBEWithMD5AndDES: passphrase based encryption.An MD5 message digest is used to digest a passphrase. The digest
 *value is then used as a DES key 
 */
public enum SymmetricCipher {
	DES 			("DES"),
	DESede 			("DESede"),
	AES				("AES"),
	PBEWithMD5AndDES 			("PBEWithMD5AndDES");
	
	private String value;
	private SymmetricCipher(final String value) {
		this.value = value;
	}
	/**
	 * 
	 * @return
	 */
	public String value(){
		return value;
	}
}
